//
//  TestEvents.cpp
//  NanoOSX
//
//  Created by Jeppe Nielsen on 9/21/13.
//  Copyright (c) 2013 Jeppe Nielsen. All rights reserved.
//
#include "Event.hpp"
#include <iostream>

using namespace Nano;
using namespace std;

class Example {
public:
    void Count(int count) {
        cout<<"Count : "<<count<<endl;
    }
};
/*
int main() {
    
    Event<int> event;
    
    Example example;
    
    //bind:
    event += event_handler(&example, &Example::Count);
    
    //notify
    event(1);
    event(2);
    
    //unbind:
    event -= event_handler(&example, &Example::Count);
    
    event(3);
    
    return 0;
}
*/

